package com.pattern.singleton.lazy;

public class LazyTwo {
    private LazyTwo (){}

    public static LazyTwo lazy = null;

    public static synchronized LazyTwo getInstance(){

        if(lazy == null){
            lazy = new LazyTwo();
        }
        return lazy;
    }

}
